We’re taking our chart from last session and making it interactive. We can do this simply by using ggplotly and our plot.

Fires in British Columbia

First plotly

Tool tips

Specify text in the tool tip: \n is a hack to get a new line in the tooltip

Specify the interaction and what happens with dragmode = "pan"

Wildfires in 2018

Wildfires by Month

Daily Wild Fires

Animation

Facets

Leaflet